<template>
	<view class="page">
		<web-view v-if="webViewSrc" :src="webViewSrc"></web-view>
	</view>
</template>

<script>
	import {esidcardAuthApi,} from '@/common/api/commonApi/commonApi.js'
	export default {
		data() {
			return {
				// webViewSrc:'https://bo.bsjiot.com/h5/index.html#/pages/watch/index',
				webViewSrc: '',
			}
		},
		methods: {
			   initUrl(){
				   esidcardAuthApi({
					   redirectType:1,
				   }).then(res=>{
					  this.webViewSrc = res.message
				   })
			   }
		},
		onLoad() {
			this.initUrl()
			
		},
		onShow() {
			
		},
	}
</script>

<style lang="scss" scoped>
.page{
	
}
</style>
